home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_100 / 163_01 / ispunct.c < prev    next >
Text File  |  1988-01-30  |  384b  |  9 lines

  1. extern int isalpha(), iscntrl();
  2. /*
  3. ** ispunct -- true if argument is neither ASCII control or alphabetic
  4. */
  5. ispunct(c) char c; {
  6.   if(isalpha(c) || iscntrl(c)) return 0;
  7.   else return 1;
  8.   }
  9.